package com.zbl.zblproject.core.service;

import com.alibaba.fastjson.JSONObject;
import com.zbl.zblproject.core.entity.OrderItem;
import com.zbl.zblproject.core.entity.Result;
import com.zbl.zblproject.erp.entity.ErpTempOrderItem;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * @author youlanqiang
 * @version 1.0
 * @date 2018/10/30
 */
public interface OrderItemService {

    void uploadNumberOfItems(List<ErpTempOrderItem> items);


    void deleteItemById(int id);

    Result deleteOrderItem(String id);

    Result updateOrderItem(OrderItem orderItem);

    String exportOrderItem(HttpServletResponse response,String id);

}
